﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuanLyNganHangDe.BLL;

namespace QuanLyNganHangDe.DAL.Models
{
    partial class NguoiSuDung
    {
        public string VaiTro_Description
        {
            get
            {
                return VaiTro == (int)VAITRO.TacNghiep ? Constant.VaiTroTacNghiep :
                    (VaiTro == (int)VAITRO.DieuHanhNghiepVu ? Constant.VaiTroDieuHanhNghiepVu : 
                    Constant.VaiTroQuanTriHeThong);
            }
        }

        public enum VAITRO : int
        {
            TacNghiep = 0,
            DieuHanhNghiepVu = 1,
            QuanTriHeThong = 2
        }
    }
}
